\usepackage{amsthm}
% 定理命题
\theoremstyle{plain}
\newtheorem{thm}{\protect\theoremname}
\newtheorem{cor}{\protect\corollaryname}
\newtheorem{lem}{\protect\lemmaname}
\newtheorem{proposition}{\protect\propositionname}

\theoremstyle{definition}
\newtheorem{defenv}{\protect\definitionname}
\newtheorem{example}{\protect\examplename}
\newtheorem{fact}{\protect\factname}

\theoremstyle{remark}
\newtheorem{rem}{\protect\remarkname}
\newtheorem{note}{\protect\notename}


\providecommand{\theoremname}{Theoram}
\providecommand{\corollaryname}{Corollary}
\providecommand{\lemmaname}{Lemma}
\providecommand{\propositioname}{Proposition}
\providecommand{\definitionname}{Definition}
\providecommand{\examplename}{Example}
\providecommand{\factname}{Fact}
\providecommand{\remarkname}{Remark}
\providecommand{\notename}{Note}